package com.lzs.adx.web.modules.adx.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lzs.adx.web.modules.adx.dto.CallTypeMappingDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 
 *
 * @author wangzhijun 825400558@qq.com
 */
@Data
@TableName("ocpx_account")
public class OcpxAccountEntity {

    /**
     * 主键ID
     */
	private String id;
    /**
     * 名称
     */
	private String name;
    /**
     * 接口ID
     */
	private Long apiId;
    /**
     * 运营模式（1正常模式，2赔付模式）
     */
	private Integer type;
    /**
     * 所属商务
     */
	private String business;
    /**
     * 产品渠道（内部产品来源渠道）
     */
	private String productChannel;
    /**
     * 媒体渠道
     */
	private String mediaChannel;
    /**
     * 当日限量
     */
	private Long dayLimitNumber;
    /**
     * 总的限量
     */
	private Long totalLimitNumber;
    /**
     * 媒体的key
     */
	private String mediaKey;

    /**
     * 所属运营
     */
    private String userName;


    private String srcId;
    /**
     * 渠道ID
     */
	private String channelId;
    /**
     * 任务ID
     */
	private String taskId;
    /**
     * 广告位ID
     */
	private String tagId;
    /**
     * 计划ID
     */
	private String planId;

    /**
     * 状态（1开始，2关闭）
     */
	private String status;
    /**
     * 回掉去重（1不去重，2去重）
     */
	private Integer callType;
    /**
     * 更新时间
     */
	private Date updateTime;
    /**
     * 创建时间
     */
	private Date createTime;

    @ApiModelProperty(value = "产品的key ")
    private String productKey;

    @ApiModelProperty(value = "整体回传率")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double per;

    @ApiModelProperty(value = "激活回传率")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double actPer;

    @ApiModelProperty("注册回传率")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double registerPer;

    @ApiModelProperty("次留回传率")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double retainPer;

    @ApiModelProperty("唤醒回传率")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double wakeupPer;

    @ApiModelProperty("付费回传率")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double payPer;

    @ApiModelProperty("红包回传率")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double redPer;

    @ApiModelProperty("高额订单回传率")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double hprofitPer;


    @ApiModelProperty("回传-映射关系")
    private String typeList;

    @ApiModelProperty("上报地址")
    private String reportUrl;

    /**
     * 考核指标
     */
    private String keyType;

    /**
     * 账户ID
     */
    private String aid;

    /**
     * 产品默认回传类型
     */
    private String defaultKey;

    /**
     * 1正常上报，2虚拟上报
     */
    private Integer reportType;

    private String publicKey;

    private String privateKey;

    private String appId;
}